package com.zheng.redpacket.server.dto;

import java.io.Serializable;

public class RedPacketDto implements Serializable {
    private  Integer userId;//用户id

    private Integer total;//红包个数

    private Integer amount;//总金额

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "RedPacketDto{" +
                "userId=" + userId +
                ", total=" + total +
                ", amount=" + amount +
                '}';
    }
}
